<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common-app/taglibs.jsp"%>
<%@ include file="/common/meta.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="${res}/js/project/irisContract.js"></script>
<script type="text/javascript" src="${res}/js/proposal/irisPrpPrepare.js"></script>
 <script type="text/javascript" src="${res_app}/js/app/jquery.media.js"></script>
<script type="text/javascript">
     $(function(){
        $('a.media').media({width:968, height:550});
    }); 
</script>
</head>
<body>
<c:if test="${type eq 'zip'}"><font color='red'>压缩文件暂不支持预览</font>&nbsp;&nbsp;<a  href="/egrantweb/file/ajax-filedownload?fileCode=${fileCode}" class="link_x">${fileName}</a></c:if>
<c:if test="${type eq 'tiff'}"><font color='red'>tiff格式文件暂不支持预览</font>&nbsp;&nbsp;<a  href="/egrantweb/file/ajax-filedownload?fileCode=${fileCode}" class="link_x">${fileName}</a></c:if>
<c:if test="${type eq 'wps'}"><font color='red'>wps格式文件暂不支持预览</font>&nbsp;&nbsp;<a  href="/egrantweb/file/ajax-filedownload?fileCode=${fileCode}" class="link_x">${fileName}</a></c:if>
<c:if test="${type ne 'zip' && type ne 'tiff' && type ne 'wps'}">
 <a type="hidden" class="media" href="${res_app }/file-preview-temp/${fileName}" target="_self"></a>
</c:if>
</body>
</html>